Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CustomDirective for smallrye-graphql #26638

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

robp94
Copy link
Contributor

@robp94 robp94 commented Jul 10, 2022

Fix for #20802.
@jmartisk fixed the UnsupportedOperationException in io.smallrye.graphql.schema.model.DirectiveType, so there was only a small change needed.

With the bean validation directives, there already seems to be a directive there without a class name, which causes problems.

DirectiveType(, name='constraint', description='Indicates a Bean Validation constraint', ...

@jmartisk Could you have a look at the changes in extensions/smallrye-graphql/deployment/src/main/java/io/quarkus/smallrye/graphql/deployment/SmallRyeGraphQLProcessor.java if this is ok?

@quarkus-bot
Copy link

quarkus-bot bot commented Jul 10, 2022

Thanks for your pull request!

The title of your pull request does not follow our editorial rules. Could you have a look?

  • title should not contain an issue number (use Fix #1234 in the description instead)

This message is automatically generated by a bot.

@robp94 robp94 changed the title Fix #20802 CustomDirective for smallrye-graphql Fix CustomDirective for smallrye-graphql Jul 10, 2022
@gsmet gsmet requested a review from phillip-kruger July 19, 2022 17:40
Copy link
Member

@phillip-kruger phillip-kruger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ! Thanks

@phillip-kruger phillip-kruger merged commit 36dbd08 into quarkusio:main Jul 20, 2022
@quarkus-bot quarkus-bot bot added this to the 2.12 - main milestone Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants